home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
pc
/
pm65sdk
/
sourcecode
/
utilitycode
/
oldmain.cpp
next >
Wrap
C/C++ Source or Header
|
1996-09-04
|
802b
|
30 lines
/******************************************************************
* oldmain.c
*
* Copyright (C) 1996, Adobe Systems Incorporated, All rights reserved.
*
* This file contains the old DllMain() & Main() functions, which
* are typically included in the plugin's main .cpp file, but
* were not there for the old plugins.
******************************************************************/
#include "PMPlugin.h"
PMBool WINAPI DllMain(HINSTANCE hInstance, ULONG ul_reason, LPVOID lpvReserved)
{
hDllInstance = hInstance; /* save the Instance in a global var */
switch(ul_reason)
{
case DLL_PROCESS_ATTACH:
break;
case DLL_THREAD_ATTACH:
break;
case DLL_THREAD_DETACH:
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}